unlink NAME unlink - delete a file SYNOPSIS int error = unlink(file); char *file; FUNCTION unlink() is *EXACTLY* remove(). unlink() exists for UNIX compatibility only. NOTE use rmdir() to delete a directory if you wish to maintain portability. EXAMPLE Refer to the remove() manual page for an example INPUTS char *file; file name to delete RESULTS int error; 0 on success, < 0 on failure SEE ALSO